/*
* Copyright (c) 2016 . All Rights Reserved.
*/
package com.cgmnx.admin.service.sys.impl;

import com.cgmnx.admin.dao.entity.sys.UpdFileEntity;
import com.cgmnx.admin.dao.mapper.sys.UpdFileMapper;
import com.cgmnx.admin.service.sys.UpdFileService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: created  Date: 16/12/20 Time: 下午3:58
 * @version: 1.0
 */
@Slf4j
@Service
public class UpdFileServiceImpl implements UpdFileService {

//    @Autowired
    private UpdFileMapper updFileMapper;


    @Override
    public void save(UpdFileEntity entity) {
        updFileMapper.save(entity);
    }

    @Override
    public UpdFileEntity queryById(Long id) {
        return updFileMapper.queryById(id);
    }

    @Override
    public UpdFileEntity queryByEncryptName(String encryptFileName) {
        return updFileMapper.queryByEncryptName(encryptFileName);
    }
}